Optimal. Leaf size=294 \[ \frac {6 \sqrt {a} \left (b+a x^{2/3}\right ) \sqrt [3]{x}}{b \left (\sqrt {b}+\sqrt {a} \sqrt [3]{x}\right ) \sqrt {b \sqrt [3]{x}+a x}}-\frac {6 \sqrt {b \sqrt [3]{x}+a x}}{b \sqrt [3]{x}}-\frac {6 \sqrt [4]{a} \left (\sqrt {b}+\sqrt {a} \sqrt [3]{x}\right ) \sqrt {\frac {b+a x^{2/3}}{\left (\sqrt {b}+\sqrt {a} \sqrt [3]{x}\right )^2}} \sqrt [6]{x} E\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{a} \sqrt [6]{x}}{\sqrt [4]{b}}\right )|\frac {1}{2}\right )}{b^{3/4} \sqrt {b \sqrt [3]{x}+a x}}+\frac {3 \sqrt [4]{a} \left (\sqrt {b}+\sqrt {a} \sqrt [3]{x}\right ) \sqrt {\frac {b+a x^{2/3}}{\left (\sqrt {b}+\sqrt {a} \sqrt [3]{x}\right )^2}} \sqrt [6]{x} F\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{a} \sqrt [6]{x}}{\sqrt [4]{b}}\right )|\frac {1}{2}\right )}{b^{3/4} \sqrt {b \sqrt [3]{x}+a x}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.21, antiderivative size = 294, normalized size of antiderivative = 1.00, number of steps
used = 7, number of rules used = 7, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.368, Rules used = {2043, 2050,
2057, 335, 311, 226, 1210} \begin {gather*} \frac {3 \sqrt [4]{a} \sqrt [6]{x} \left (\sqrt {a} \sqrt [3]{x}+\sqrt {b}\right ) \sqrt {\frac {a x^{2/3}+b}{\left (\sqrt {a} \sqrt [3]{x}+\sqrt {b}\right )^2}} F\left (2 \text {ArcTan}\left (\frac {\sqrt [4]{a} \sqrt [6]{x}}{\sqrt [4]{b}}\right )|\frac {1}{2}\right )}{b^{3/4} \sqrt {a x+b \sqrt [3]{x}}}-\frac {6 \sqrt [4]{a} \sqrt [6]{x} \left (\sqrt {a} \sqrt [3]{x}+\sqrt {b}\right ) \sqrt {\frac {a x^{2/3}+b}{\left (\sqrt {a} \sqrt [3]{x}+\sqrt {b}\right )^2}} E\left (2 \text {ArcTan}\left (\frac {\sqrt [4]{a} \sqrt [6]{x}}{\sqrt [4]{b}}\right )|\frac {1}{2}\right )}{b^{3/4} \sqrt {a x+b \sqrt [3]{x}}}+\frac {6 \sqrt {a} \sqrt [3]{x} \left (a x^{2/3}+b\right )}{b \left (\sqrt {a} \sqrt [3]{x}+\sqrt {b}\right ) \sqrt {a x+b \sqrt [3]{x}}}-\frac {6 \sqrt {a x+b \sqrt [3]{x}}}{b \sqrt [3]{x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 226
Rule 311
Rule 335
Rule 1210
Rule 2043
Rule 2050
Rule 2057
Rubi steps
\begin {align*} \int \frac {1}{x \sqrt {b \sqrt [3]{x}+a x}} \, dx &=3 \text {Subst}\left (\int \frac {1}{x \sqrt {b x+a x^3}} \, dx,x,\sqrt [3]{x}\right )\\ &=-\frac {6 \sqrt {b \sqrt [3]{x}+a x}}{b \sqrt [3]{x}}+\frac {(3 a) \text {Subst}\left (\int \frac {x}{\sqrt {b x+a x^3}} \, dx,x,\sqrt [3]{x}\right )}{b}\\ &=-\frac {6 \sqrt {b \sqrt [3]{x}+a x}}{b \sqrt [3]{x}}+\frac {\left (3 a \sqrt {b+a x^{2/3}} \sqrt [6]{x}\right ) \text {Subst}\left (\int \frac {\sqrt {x}}{\sqrt {b+a x^2}} \, dx,x,\sqrt [3]{x}\right )}{b \sqrt {b \sqrt [3]{x}+a x}}\\ &=-\frac {6 \sqrt {b \sqrt [3]{x}+a x}}{b \sqrt [3]{x}}+\frac {\left (6 a \sqrt {b+a x^{2/3}} \sqrt [6]{x}\right ) \text {Subst}\left (\int \frac {x^2}{\sqrt {b+a x^4}} \, dx,x,\sqrt [6]{x}\right )}{b \sqrt {b \sqrt [3]{x}+a x}}\\ &=-\frac {6 \sqrt {b \sqrt [3]{x}+a x}}{b \sqrt [3]{x}}+\frac {\left (6 \sqrt {a} \sqrt {b+a x^{2/3}} \sqrt [6]{x}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {b+a x^4}} \, dx,x,\sqrt [6]{x}\right )}{\sqrt {b} \sqrt {b \sqrt [3]{x}+a x}}-\frac {\left (6 \sqrt {a} \sqrt {b+a x^{2/3}} \sqrt [6]{x}\right ) \text {Subst}\left (\int \frac {1-\frac {\sqrt {a} x^2}{\sqrt {b}}}{\sqrt {b+a x^4}} \, dx,x,\sqrt [6]{x}\right )}{\sqrt {b} \sqrt {b \sqrt [3]{x}+a x}}\\ &=\frac {6 \sqrt {a} \left (b+a x^{2/3}\right ) \sqrt [3]{x}}{b \left (\sqrt {b}+\sqrt {a} \sqrt [3]{x}\right ) \sqrt {b \sqrt [3]{x}+a x}}-\frac {6 \sqrt {b \sqrt [3]{x}+a x}}{b \sqrt [3]{x}}-\frac {6 \sqrt [4]{a} \left (\sqrt {b}+\sqrt {a} \sqrt [3]{x}\right ) \sqrt {\frac {b+a x^{2/3}}{\left (\sqrt {b}+\sqrt {a} \sqrt [3]{x}\right )^2}} \sqrt [6]{x} E\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{a} \sqrt [6]{x}}{\sqrt [4]{b}}\right )|\frac {1}{2}\right )}{b^{3/4} \sqrt {b \sqrt [3]{x}+a x}}+\frac {3 \sqrt [4]{a} \left (\sqrt {b}+\sqrt {a} \sqrt [3]{x}\right ) \sqrt {\frac {b+a x^{2/3}}{\left (\sqrt {b}+\sqrt {a} \sqrt [3]{x}\right )^2}} \sqrt [6]{x} F\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{a} \sqrt [6]{x}}{\sqrt [4]{b}}\right )|\frac {1}{2}\right )}{b^{3/4} \sqrt {b \sqrt [3]{x}+a x}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 5 vs. order 4 in
optimal.
time = 10.04, size = 54, normalized size = 0.18 \begin {gather*} -\frac {6 \sqrt {1+\frac {a x^{2/3}}{b}} \, _2F_1\left (-\frac {1}{4},\frac {1}{2};\frac {3}{4};-\frac {a x^{2/3}}{b}\right )}{\sqrt {b \sqrt [3]{x}+a x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.38, size = 253, normalized size = 0.86
method | result | size |
derivativedivides | \(-\frac {6 \left (b +a \,x^{\frac {2}{3}}\right )}{b \sqrt {x^{\frac {1}{3}} \left (b +a \,x^{\frac {2}{3}}\right )}}+\frac {3 \sqrt {-a b}\, \sqrt {\frac {\left (x^{\frac {1}{3}}+\frac {\sqrt {-a b}}{a}\right ) a}{\sqrt {-a b}}}\, \sqrt {-\frac {2 \left (x^{\frac {1}{3}}-\frac {\sqrt {-a b}}{a}\right ) a}{\sqrt {-a b}}}\, \sqrt {-\frac {x^{\frac {1}{3}} a}{\sqrt {-a b}}}\, \left (-\frac {2 \sqrt {-a b}\, \EllipticE \left (\sqrt {\frac {\left (x^{\frac {1}{3}}+\frac {\sqrt {-a b}}{a}\right ) a}{\sqrt {-a b}}}, \frac {\sqrt {2}}{2}\right )}{a}+\frac {\sqrt {-a b}\, \EllipticF \left (\sqrt {\frac {\left (x^{\frac {1}{3}}+\frac {\sqrt {-a b}}{a}\right ) a}{\sqrt {-a b}}}, \frac {\sqrt {2}}{2}\right )}{a}\right )}{b \sqrt {b \,x^{\frac {1}{3}}+a x}}\) | \(195\) |
default | \(-\frac {3 \left (-2 \sqrt {x^{\frac {1}{3}} \left (b +a \,x^{\frac {2}{3}}\right )}\, \sqrt {\frac {a \,x^{\frac {1}{3}}+\sqrt {-a b}}{\sqrt {-a b}}}\, \sqrt {-\frac {2 \left (a \,x^{\frac {1}{3}}-\sqrt {-a b}\right )}{\sqrt {-a b}}}\, \sqrt {-\frac {x^{\frac {1}{3}} a}{\sqrt {-a b}}}\, \EllipticE \left (\sqrt {\frac {a \,x^{\frac {1}{3}}+\sqrt {-a b}}{\sqrt {-a b}}}, \frac {\sqrt {2}}{2}\right ) b +\sqrt {x^{\frac {1}{3}} \left (b +a \,x^{\frac {2}{3}}\right )}\, \sqrt {\frac {a \,x^{\frac {1}{3}}+\sqrt {-a b}}{\sqrt {-a b}}}\, \sqrt {-\frac {2 \left (a \,x^{\frac {1}{3}}-\sqrt {-a b}\right )}{\sqrt {-a b}}}\, \sqrt {-\frac {x^{\frac {1}{3}} a}{\sqrt {-a b}}}\, \EllipticF \left (\sqrt {\frac {a \,x^{\frac {1}{3}}+\sqrt {-a b}}{\sqrt {-a b}}}, \frac {\sqrt {2}}{2}\right ) b +2 \sqrt {b \,x^{\frac {1}{3}}+a x}\, x^{\frac {2}{3}} a +2 \sqrt {b \,x^{\frac {1}{3}}+a x}\, b \right )}{x^{\frac {1}{3}} \left (b +a \,x^{\frac {2}{3}}\right ) b}\) | \(253\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{x \sqrt {a x + b \sqrt [3]{x}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {1}{x\,\sqrt {a\,x+b\,x^{1/3}}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________